
<div class="base-layout">
    <div class="mainbox">
        <div class="base-tab-menu">
            <ul class="base-tabs-nav">
                <?php if(!empty($member_menu)){?>
                <?php foreach (($member_menu) as $val){?>
                <li <?php if($val['menu_key'] == $menu_key){?>class="selected"<?php }?>><a href="<?php echo $val['menu_url'];?>"><?php echo $val['menu_name'];?></a></li>
                <?php }?>
                <?php }?>
            </ul>
        </div>
        <div class="layout-l">
            <div class="search-group-list">
                <?php if(!empty($circle_list)){?>
                <ul>
                    <?php foreach(($circle_list) as $val){?>
                    <li>
                        <dl class="group-info">
                            <dt class="group-name">
                                <a href="<?php echo CIRCLE_SITE_URL;?>/index.php?act=group&c_id=<?php echo $val['circle_id'];?>"><?php echo $val['circle_name']?></a>
                                <?php echo memberLevelHtml($cm_array[$val['circle_id']]);?>
                            </dt>
                            <dd class="group-pic"><a href="<?php echo CIRCLE_SITE_URL;?>/index.php?act=group&c_id=<?php echo $val['circle_id'];?>"><img src="<?php echo circleLogo($val['circle_id']);?>" /></a></dd>
                            <dd class="group-time"><?php echo 创建于;?><em><?php echo @date('Y-m-d', $val['circle_addtime'])?></em></dd>
                            <dd class="group-total"><em><?php echo $val['circle_mcount'];?></em><?php echo 个成员;?></dd>
                            <dd class="group-intro"><?php echo $val['circle_desc'];?></dd>
                        </dl>
                    </li>
                    <?php }?>
                </ul>
                <?php }else{?>
                <div class="no-theme"><span> <i></i><?php echo 您还没有加入过圈子。;?></span></div>
                <?php }?>
            </div></div>
    </div>
    {include file="circle:circle:p_center_sidebar" /}

</div>